import {simpleGet, simplePost} from "@/utils/request";

export const getArticleList = (data: Record<string, any> = {}) => {
    return simpleGet("/site.article/index", data)
}

export const getArticleDetail = (id:number) => {
    return simpleGet("/site.article/edit", {id:id})
}

